package com.immediatus.engine.input.sensor;

public class BaseSensorData{
    protected final float[] _Values;
    protected int _Accuracy;
    protected int _DisplayRotation;

    public BaseSensorData(final int valueCount_, int displayRotation_){
        this._Values = new float[valueCount_];
        this._DisplayRotation = displayRotation_;
    }

    public float[] getValues(){
        return this._Values;
    }

    public void setValues(final float[] values_){
        System.arraycopy(values_, 0, this._Values, 0, values_.length);
    }

    public void setAccuracy(final int accuracy_){
        this._Accuracy = accuracy_;
    }

    public int getAccuracy(){
        return this._Accuracy;
    }
}
